﻿using Microsoft.Cci;
using System;

namespace AutoPex.Core.Extensions
{
	internal static class OperationCodeExtensions
	{
		internal static bool IsMethodCall(this OperationCode @this)
		{
			return @this == OperationCode.Call || @this == OperationCode.Calli ||
				@this == OperationCode.Callvirt;
		}
	}
}
